package com.zsc.newbuds.service;

import com.zsc.newbuds.entity.SaleRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author D
 */
public interface SaleRecordService {


    /**
     * 出售记录
     * @param recordId
     */
    void setSaleRecord(Integer[] recordId);

    /**
     * 获取所有出售记录
     * @return
     */
    List<SaleRecord> getSaleRecordList();

    /**
     * 出售记录
     * @param saleRecord
     */
    void addSaleRecord(SaleRecord saleRecord,Integer[] recordId);



}
